package com.ruikong.dazhi.service.base;

import com.ruikong.dazhi.entity.base.Permission;
import com.ruikong.dazhi.entity.base.Role;
import com.ruikong.dazhi.model.input.PermissionInput;
import com.ruikong.dazhi.model.output.PermissionOutput;
import com.ruikong.dazhi.model.output.TreeMenuOutput;
import com.ruikong.dazhi.model.output.TreeNatureOutput;

import java.util.List;

/**
 * @program: dailychemicalmes
 * @description:
 * @author: tybengine
 * @create: 2020-11-30 16:08
 **/
public interface IPermissionService {

    List<PermissionOutput> getPermissionsByPersonnelId(PermissionInput permissionInput);

    String getPermissionTree();

    List<Permission> getPermissionListByRoleId(Role role);

    List<TreeMenuOutput> getPermissionByRoleId(Role role);

    List<TreeNatureOutput> showModalTree(Role role);
}
